home *** CD-ROM | disk | FTP | other *** search
- Path: connix.com!news
- From: Scott Hawley <shawley@connix.com>
- Newsgroups: comp.lang.c
- Subject: Re: ** Disabling ctrl-C in C **
- Date: Tue, 12 Mar 1996 11:10:44 -0800
- Organization: SHAWLEY SYSTEMS
- Message-ID: <3145CC34.7C19@connix.com>
- References: <4hpbv3$6u@maltese.eag.unisysgsg.com>
- NNTP-Posting-Host: shawley.connix.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Try looking at the signal.h and 'signal' command. this is set up to
- trap any signal except a kill -9 which can not be trapped.
- Just call a routine to do nothing and return on a ctrl-c.
-